<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="<s:url value="/resources"/>/js/jquery.js"></script>
<link href="<s:url value="/resources"/>/css/style.css" rel="stylesheet" type="text/css" />
</head>
<script language="JavaScript">
function Submit_onclick(){
	if(parent.myFrame.cols == "245,7,*") {
		parent.myFrame.cols="0,7,*";
		document.getElementById("ImgArrow").src="<s:url value="/resources"/>/images/switch_right.gif";
		document.getElementById("ImgArrow").alt="打开左侧导航栏";
	} else {
		parent.myFrame.cols="245,7,*";
		document.getElementById("ImgArrow").src="<s:url value="/resources"/>/images/switch_left.gif";
		document.getElementById("ImgArrow").alt="隐藏左侧导航栏";
	}
}

function MyLoad() {
	if(window.parent.location.href.indexOf("MainUrl")>0) {
		window.top.midFrame.document.getElementById("ImgArrow").src="<s:url value="/resources"/>/images/switch_right.gif";
	}
}
</script>
<body onload="MyLoad()">
<div id="switchpic" onclick="Submit_onclick()">
 
<a ><img src="<s:url value="/resources"/>/images/switch_left.gif" alt="隐藏左侧导航栏" id="ImgArrow" width="7" height="35"/></a></div>
</body>
</html>